import {ref} from 'vue'

export function useShowVisible() {
    let visible = ref(false);

    const openVisible = () => {
        visible.value = true;
    }
    const closeVisible = () => {
        visible.value = false;
    }

    return {
        visible,
        openVisible,
        closeVisible
    }
}